package com.example.helloandroid;

import android.app.Activity;
import android.os.Bundle;
//import android.widget.TextView;

public class HelloAndroid extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
    	//FIRST VERSION
        //super.onCreate(savedInstanceState);
        //TextView tv = new TextView(this);
        //tv.setText("Hello, Android");
        //setContentView(tv);
       
    	//USING layout.xml
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

    	//BUGGY
        //super.onCreate(savedInstanceState);
        //Object o = null;
        //o.toString();
        //setContentView(R.layout.main);

    }
}